/**
 * 
 */
package com.huarui.desktop.service.impl;

import com.huarui.desktop.dao.TableInfoDao;
import com.huarui.desktop.model.TableMetaData;
import com.huarui.desktop.service.TableMetaDataService;

/**
 * @author sunpeng
 *
 */
public class DefaultTableMetaDataService implements TableMetaDataService {

	private TableInfoDao tableInfoDao;

	/* (non-Javadoc)
	 * @see com.huarui.desktop.service.TableMetaDataService#viewTableMetaData(java.lang.String)
	 */
	public TableMetaData viewTableMetaData(String tableName)
	{
		return this.tableInfoDao.selectTableMetaData(tableName);
	}
	
	/* (non-Javadoc)
	 * @see com.huarui.desktop.service.TableMetaDataService#setTableInfoDao(com.huarui.desktop.dao.TableInfoDao)
	 */
	public void setTableInfoDao(TableInfoDao tableInfoDao) {
		this.tableInfoDao = tableInfoDao;
	}
	
	
}
